package cn.bugstack.domain.activity.service.discount;

import cn.bugstack.domain.activity.model.valobj.GroupBuyActivityDiscountVO;

import java.math.BigDecimal;

/**
 * @description: 折扣计算服务
 * @author: wwq
 * @date: 2025/08/29/9:59
 */
public interface IDiscountCalculateService {

    /**
     * 折扣计算
     * @param userId
     * @param originalPrice
     * @param groupBuyDiscount
     * @return
     */
    BigDecimal calculate(String userId, BigDecimal originalPrice, GroupBuyActivityDiscountVO.GroupBuyDiscount groupBuyDiscount);
}
